package com.xiaoze.steampy.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xiaoze.steampy.common.dto.MessList;
import com.xiaoze.steampy.entity.UserGame;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 小泽
 * @since 2022-04-01
 */
@Mapper
public interface UserGameMapper extends BaseMapper<UserGame> {

    //根据gameId查询此id的所有卖家

     List<MessList> getAllmess(Integer id);
     // IPage<MessList> getAllmess(IPage<MessList> page, @Param(Constants.WRAPPER) Wrapper<MessList> wrapper);

}
